﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ProductDetail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
        if (Request.QueryString["id_product"] != null )
        {
            
            if (Session["view1"] != null)
            {
                if (!Session["view1"].ToString().Equals(Request.QueryString["id_product"].ToString()))
                Session["view2"] = Session["view1"];
            }
            Session["view1"] = Request.QueryString["id_product"];

        }
    }
}